package com.kedsoft.andaily.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2018-11-29
 */
@TableName("cms_content")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 所属栏目
     */
    private Integer categoryid;
    /**
     * 栏目名称
     */
    private String categoryname;
    /**
     * 标题
     */
    private String title;
    private String author;
    /**
     * 来源
     */
    private String source;
    private String content;
    private Date crtime;
    private Date uptime;
    /**
     * 1
     */
    private Integer status;
    /**
     * 是否推荐
     */
    private Integer top;
    /**
     * 是否图片新闻
     */
    private Integer pic;
    /**
     * 是否热门
     */
    private Integer hot;
    /**
     * 描述
     */
    private String display;

    private Integer tagid;

    private String tagname;

    public Integer getTagid() {
        return tagid;
    }

    public void setTagid(Integer tagid) {
        this.tagid = tagid;
    }

    public String getTagname() {
        return tagname;
    }

    public void setTagname(String tagname) {
        this.tagname = tagname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCrtime() {
        return crtime;
    }

    public void setCrtime(Date crtime) {
        this.crtime = crtime;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getPic() {
        return pic;
    }

    public void setPic(Integer pic) {
        this.pic = pic;
    }

    public Integer getHot() {
        return hot;
    }

    public void setHot(Integer hot) {
        this.hot = hot;
    }

    public String getDisplay() {
        return display;
    }

    public void setDisplay(String display) {
        this.display = display;
    }

    @Override
    public String toString() {
        return "Content{" +
        ", id=" + id +
        ", categoryid=" + categoryid +
        ", categoryname=" + categoryname +
        ", title=" + title +
        ", author=" + author +
        ", source=" + source +
        ", content=" + content +
        ", crtime=" + crtime +
        ", uptime=" + uptime +
        ", status=" + status +
        ", top=" + top +
        ", pic=" + pic +
        ", hot=" + hot +
        ", display=" + display +
        "}";
    }
}
